package com.intel.two.pojo.medical;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author:xiaofeia
 * @DATE:2022/10/13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Drugs {
    private Integer drugs_id;//序号
    private String  drugs_name;//药品名称
    private String  drugs_size;//规格
    private Double  drugs_price;//单价
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date drugs_date;//入库时间
    private String drugs_img;//图片
}
